package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.gljx.web.Entity.RefuelCardRegEntry;
import org.springframework.stereotype.Component;

@Component
public interface RefuelCardRegEntryMapper {
    int deleteByPrimaryKey(String fid);

    int insert(RefuelCardRegEntry record);

    int insertSelective(RefuelCardRegEntry record);

    RefuelCardRegEntry selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(RefuelCardRegEntry record);

    int updateByPrimaryKey(RefuelCardRegEntry record);

    List<RefuelCardRegEntry> selRefuelCardRegEntry(Map<String, Object> map);

    Double selFeflueBeginBalance(Map<String, Object> map);

    Double selFeflueBeginBalances(Map<String, Object> map);

    Double selFeflueCfamout(Map<String, Object> map);

    List<RefuelCardRegEntry> selRefuelCardRegEntryByParentId(@Param("parentId")String parentId,@Param("carName")String carName);

    int deleteByParentId(String parentid);

    List<RefuelCardRegEntry> selRefuelCardRegEntryByParentIdALL(@Param("parentId")String parentId);
}